Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Physx5 updatePhysX Split support for PhysX5 #241

Merged
merged 12 commits into from
Feb 3, 2024

Conversation

spham-amzn
Copy link
Contributor

Updates to the PhysX 3rd Party script to support the o3de/sig-simulation#85.

  • Support to rename FindPhysX.cmake -> FindPhysX5.cmake
  • Update the FindPhysX5.cmake to only use static libraries instead of the shared equivalent. This is necessary to prevent collision of the same shared libraries from both versions that have the same name. This will also reduce the 3rd Party package size.
  • Fix a macos specific compiile error when using the current macos sdk
  • Update the PhysX5 3P package to rev4

…t endpoint URL

- Add parameter to set the package name and rev
- Update FindPhysX to FindPhysX5
- Fix escapement of the '$' character

Signed-off-by: Steve Pham <82231385+spham-amzn@users.noreply.github.com>
Signed-off-by: Steve Pham <82231385+spham-amzn@users.noreply.github.com>
- Add patching of physx5 from git to fix compilation error found in apple-clang 15

Signed-off-by: Steve Pham <82231385+spham-amzn@users.noreply.github.com>
Signed-off-by: Steve Pham <82231385+spham-amzn@users.noreply.github.com>
Signed-off-by: Steve Pham <82231385+spham-amzn@users.noreply.github.com>
…builds

Signed-off-by: Steve Pham <82231385+spham-amzn@users.noreply.github.com>
…ries

Signed-off-by: Steve Pham <82231385+spham-amzn@users.noreply.github.com>
Signed-off-by: Steve Pham <82231385+spham-amzn@users.noreply.github.com>
Signed-off-by: Steve Pham <82231385+spham-amzn@users.noreply.github.com>
Signed-off-by: Steve Pham <82231385+spham-amzn@users.noreply.github.com>
Signed-off-by: Steve Pham <82231385+spham-amzn@users.noreply.github.com>
@spham-amzn
Copy link
Contributor Author

Unable to build through GHI due to current build scripts for PhysX not related to these changes.

'SceneQuery_static_64',
'SimulationController_static_64']:

for extra_static_lib_ext in ['.lib', '.pdb']:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we copying the .pdbs? Do we want to do that? Are they really big? Maybe we could output those to a separate place where they can be zipped and uploaded separate?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a common scenario with a lot of these packages. Lets hold off on that until we come up with a general strategy for separate distribution of debug symbols for 3P packages and O3DE

Copy link
Contributor

@AMZN-alexpete AMZN-alexpete left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some minor suggestions

Signed-off-by: Steve Pham <82231385+spham-amzn@users.noreply.github.com>
@spham-amzn spham-amzn merged commit dd4f27a into o3de:main Feb 3, 2024
7 of 10 checks passed
@spham-amzn spham-amzn deleted the physx5_update branch September 30, 2024 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants